/**
 * 首页-正在热展 后端接口
 */

const router = require('express').Router()

const { json } = require('body-parser')

const db = require('../../../dbconfig')

router.get('/indexHotShow1',(req,res) => {
    let sql = "select * from indexHotShow1" // sql语句
    db.query(sql, (err, data) => {
        res.send(JSON.stringify(data))
    })
})

module.exports = router